﻿using UnityEngine;
using System.Runtime.InteropServices;
using System;
using System.Collections.Generic;

public class AliCallAct
{
	public static void Init (string key)
	{
		#if UNITY_IPHONE
		Debug.Log ("YXC" + "  Call iOS init key=" + key [0]);
		InitAlimamaiOS (key);
		#endif
	}

	public static void ShowBanner (bool bo)
	{
		#if UNITY_IPHONE
		Debug.Log ("YXC" + "  Call iOS show  show=" + bo);
		ShowAliBanner (bo);
		#endif
	}





	[DllImport("__Internal")]
	static extern void InitAlimamaiOS (string aliKey);
	[DllImport("__Internal")]
	static extern void ShowAliBanner (bool bo);
}
